package com.jmlee.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 *商家管理
 *
 */
public class AShop {
    /*
    店铺id
     */
    private String id;
    /*
    店铺名
     */
    private String name;
    /*
    店铺所有者（管理员）id
     */
    private Long aId;
    /*
    店铺地址
     */
    private String address;
    /*
    店铺状态
     */
    private Integer status;
    /*
    统一社会信用码
     */
    private String license;
    /*
    营业执照照片（url）
     */
    private String licenseImg;
    /*
    创建日期
     */
    private Date createTime;

    /*
        物理地理位置信息（经纬度）
     */
    private BigDecimal latitude;
    private BigDecimal longitude;
    //用户名
    private String userName;



    public AShop() {
    }

    @Override
    public String toString() {
        return "AShop{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", aId='" + aId + '\'' +
                ", address='" + address + '\'' +
                ", status=" + status +
                ", license='" + license + '\'' +
                ", licenseImg='" + licenseImg + '\'' +
                ", createTime=" + createTime +
                ", latitude=" + latitude +
                ", longitude=" + longitude +
                ", userName='" + userName + '\'' +
                '}';
    }

    public AShop(String id, String name, Long aId, String address, Integer status, String license, String licenseImg, Date createTime, BigDecimal latitude, BigDecimal longitude, String userName) {
        this.id = id;
        this.name = name;
        this.aId = aId;
        this.address = address;
        this.status = status;
        this.license = license;
        this.licenseImg = licenseImg;
        this.createTime = createTime;
        this.latitude = latitude;
        this.longitude = longitude;
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getaId() {
        return aId;
    }

    public void setaId(Long aId) {
        this.aId = aId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getLicenseImg() {
        return licenseImg;
    }

    public void setLicenseImg(String licenseImg) {
        this.licenseImg = licenseImg;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

}
